package org.osite.xml;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface XmlParam {
    public static final String REQUIRED = "__required__#314159";

    public String value();

    @SuppressWarnings("unchecked")
    public Class<? extends AttributeConverter> convertor() 
            default AttributeConverter.class;

    public String preset() default REQUIRED;
}
